package com.lagou.domain;

import java.util.List;

public class Dept {

    private int deptId;
    private String deptName;
    private String majorName;
    private String telephone;
    private String email;
    private List<Employee> employeeList;

    public Dept() {
    }

    public Dept(int deptId, String deptName, String majorName, String telephone, String email, List<Employee> employeeList) {
        this.deptId = deptId;
        this.deptName = deptName;
        this.majorName = majorName;
        this.telephone = telephone;
        this.email = email;
        this.employeeList = employeeList;
    }

    @Override
    public String toString() {
        return "Dept{" +
                "deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", majorName='" + majorName + '\'' +
                ", telephone='" + telephone + '\'' +
                ", email='" + email + '\'' +
                ", employeeList=" + employeeList +
                '}';
    }

    public int getDeptId() {
        return deptId;
    }

    public void setDeptId(int deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public List<Employee> getEmployeeList() {
        return employeeList;
    }

    public void setEmployeeList(List<Employee> employeeList) {
        this.employeeList = employeeList;
    }
}
